package com.crane.oss.school.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.crane.oss.school.bean.request.QueryTeacherCycleReq;
import com.crane.oss.school.bean.request.teachercycle.AddTeacherCycleReq;
import com.crane.oss.school.bean.request.teachercycle.UpdateTeacherCycleReq;
import com.crane.oss.school.bean.resp.TeacherCycleResp;

/**
 * 教学周期表
 *
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2022年03月26日 14时24分54秒
 */
public interface TeacherCycleService {

    /**
     * 查詢对象
     *
     * @param id
     * @return
     */
    TeacherCycleResp queryTeacherCycle(Long id);

    /**
     * 查询列表
     *
     * @param request
     * @return
     */
    IPage<TeacherCycleResp> queryList(QueryTeacherCycleReq request);

    /**
     * 保持对象
     *
     * @param request
     * @return
     */
    int save(AddTeacherCycleReq request);

    /**
     * 修改对象
     *
     * @param request
     * @return
     */
    int update(UpdateTeacherCycleReq request);

    /**
     * 删除对象
     *
     * @param id
     * @return
     */
    int delete(Long id,Long partyId);

}
